//
//  CMDBHomeWorksBean.swift
//  CMDB
//
//  Created by 王磊 on 17/4/11.
//  Copyright © 2017年 CMDB. All rights reserved.
//

import UIKit

public class CMDBHomeWorksBean: NSObject {
    
    var attributes: Array<CMDBWorksAttributeBean>? /* 作品属性 */
    
    var types: Array<CMDBWorksLabelBean>? /* 类型 */
    
    var areas: Array<CMDBWorksLabelBean>? /* 地区 */
    
    var years: Array<CMDBWorksLabelBean>? /* 年份 */
    
    var durations: Array<CMDBWorksLabelBean>? /* 片长 */
    
    var boxOffices: Array<CMDBWorksLabelBean>?  /* 票房 */
    
    var episodes: Array<CMDBWorksLabelBean>? /* 集数 */
    
    var works: Array<CMDBWorksBean>? /* 作品 */
}
extension CMDBHomeWorksBean: DictModelProtocol {
    
    public static func customClassMapping() -> [String : String]? {
        
        return [
            "attributes":"CMDBWorksAttributeBean",
            "types":"CMDBWorksLabelBean",
            "areas":"CMDBWorksLabelBean",
            "years":"CMDBWorksLabelBean",
            "durations":"CMDBWorksLabelBean",
            "boxOffices":"CMDBWorksLabelBean",
            "episodes":"CMDBWorksLabelBean",
            "works":"CMDBWorksBean"
        ]
    }
}